package com.bolt.report.definition;

public enum  BorderType {
    solid,dashed,dotted,doublesolid;
    public static BorderType toBorderStyle(String name){
        if(name.equals("double")){
            return BorderType.doublesolid;
        }else{
            return BorderType.valueOf(name);
        }
    }
    @Override
    public String toString() {
        if(this.equals(BorderType.doublesolid)){
            return "double";
        }
        return super.toString();
    }
}